import request from '@/utils/request.js'
//获取用户信息
export const getCustomerInfo = (params) => request({ url: `/web/article/getCustomerInfo`, method: 'get', params })
//分区列表
export const getZoningList = (params) => request({ url: `/web/zoning/list`, method: 'get', params })
//新增文章
export const articleAdd = (params) => request({ url: `/web/article`, method: 'post', data: params, loading: true })
//获取客户端用户详细信息
export const getCustomerInfoById = (params) => request({ url: `/web/customer/${params}`, method: 'get' })
//修改客户端信息
export const editCustomerInfo = (params) => request({ url: `/web/customer`, method: 'put', data: params })

//修改客户端信息 新
export const updateCustomerSimpleInfo = (data) => request({ url: `/web/customer/updateCustomerSimpleInfo`, method: 'post', data })
